package cn.edu.sdjzu.xg.eagle.entity;

import java.io.Serializable;
import java.util.Locale;

public class User implements Comparable<User>, Serializable {
    private Integer id;
    private String username;
    private String password;
    private LocaleDateTime loginTime;

    public User() {
        this.id = 0;
        this.username = "";
        this.password = "";
        this.loginTime = new LocaleDateTime();
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    @Override
    public int compareTo(User o) {
        return 0;
    }

    public void setId(int userId) {
        this.id = userId;
    }

    public Integer getId() {
        return id;
    }

    private class LocaleDateTime {
        private Locale locale;
    }
}
